#include "InitialConditionOperator.h"
#include "VFVProblem.h"
#include "WorkletInitialCondition.h"
InitialConditionOperator::InitialConditionOperator(VFVProblem& vfv_problem) :
	ElementalLoopOperator(vfv_problem)
{
}

InitialConditionOperator::~InitialConditionOperator()
{
}


void InitialConditionOperator::onElem(const Elem* elem)
{
}

void InitialConditionOperator::operator()(const ConstElemRange& range)
{
	auto ic = _vfv_problem.getICWorketlet();
	for (const auto& elem : range)
	{
		onElem(elem);
		ic->execute();
	}

}
